<?php

class rule_base {

  /**
   *
   * @var check if result is exists
   */
  protected $_result = false;
  
  /**
   *
   * @var mixed
   */
  protected $_value;
  /**
   * @var array
   */
  protected $_params;

  /**
   * @param mixed $value
   * @param array $params
   */
  public function __construct($value, $params) {
    $this->_value = $value;
    $this->_params = $params;
  }
}